package org.brisling.medical.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.brisling.base.domain.impl.BaseMonitorDomain;
import org.brisling.base.domain.inf.BaseDomainInf;
import org.brisling.common.ConstSysParam;

/**
 * 
 * <p>Title: OverlayPrescribe</p>
 * <p>Description: 超限处方实体类</p>
 * <p>Company: tongking </p>
 * @author jackson wang
 * @since  1.0
 * @version 1.0
 * @date 2016年6月3日 下午6:32:04
 */
@Entity
@Table(name=ConstSysParam.MODULE_OVERLAY_PRESCRIBE)

public class OverlayPrescribe extends BaseMonitorDomain implements BaseDomainInf{

	@Id
	@Column
	@GeneratedValue(strategy=GenerationType.TABLE,generator="overlayPrescribeGenerator")
	@TableGenerator(name="overlayPrescribeGenerator",
					table="sysman_generation_key",
					pkColumnValue=ConstSysParam.MODULE_OVERLAY_PRESCRIBE,
					pkColumnName="primary_key",
					valueColumnName="key_value",
					allocationSize=1)
	private Long id;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	
	
	
	/**
	 * 门诊人次
	 */
	private Long outpatient_num;
	
	//药品种类疑似超标
	private Long maybe_type_over;
	/**
	 * 药品种类超标
	 */
	private Long drug_type_overlay;
	
	//用药周期疑似超标
	private Long maybe_date_over;
	/**
	 * 用药周期超标
	 */
	private Long drug_date_overlay;
	
	//处方价格疑似超标
	private Long maybe_price_over;
	/**
	 * 处方价格超标
	 */
	private Long drug_price_overlay;

	private String outpatient_number;

	private String mzhm;
	
	//处方金额
	private Double all_price;
	
	//处方药品种数
	private Integer durg_num;
	
	//处方用药天数
	private Integer day_num;
	
	
	public String getMzhm() {
		return mzhm;
	}

	public void setMzhm(String mzhm) {
		this.mzhm = mzhm;
	}

	public Long getOutpatient_num() {
		return outpatient_num;
	}

	public void setOutpatient_num(Long outpatient_num) {
		this.outpatient_num = outpatient_num;
	}

	public Long getDrug_type_overlay() {
		return drug_type_overlay;
	}

	public void setDrug_type_overlay(Long drug_type_overlay) {
		this.drug_type_overlay = drug_type_overlay;
	}

	public Long getDrug_date_overlay() {
		return drug_date_overlay;
	}

	public void setDrug_date_overlay(Long drug_date_overlay) {
		this.drug_date_overlay = drug_date_overlay;
	}

	public Long getDrug_price_overlay() {
		return drug_price_overlay;
	}

	public void setDrug_price_overlay(Long drug_price_overlay) {
		this.drug_price_overlay = drug_price_overlay;
	}

	public String getOutpatient_number() {
		return outpatient_number;
	}

	public void setOutpatient_number(String outpatient_number) {
		this.outpatient_number = outpatient_number;
	}

	

	/**
	 * @return the durg_num
	 */
	public Integer getDurg_num() {
		return durg_num;
	}

	/**
	 * @param durg_num the durg_num to set
	 */
	public void setDurg_num(Integer durg_num) {
		this.durg_num = durg_num;
	}

	/**
	 * @return the all_price
	 */
	public Double getAll_price() {
		return all_price;
	}

	/**
	 * @param all_price the all_price to set
	 */
	public void setAll_price(Double all_price) {
		this.all_price = all_price;
	}

	/**
	 * @return the day_num
	 */
	public Integer getDay_num() {
		return day_num;
	}

	/**
	 * @param day_num the day_num to set
	 */
	public void setDay_num(Integer day_num) {
		this.day_num = day_num;
	}

	/**
	 * @return the maybe_type_over
	 */
	public Long getMaybe_type_over() {
		return maybe_type_over;
	}

	/**
	 * @param maybe_type_over the maybe_type_over to set
	 */
	public void setMaybe_type_over(Long maybe_type_over) {
		this.maybe_type_over = maybe_type_over;
	}

	/**
	 * @return the maybe_date_over
	 */
	public Long getMaybe_date_over() {
		return maybe_date_over;
	}

	/**
	 * @param maybe_date_over the maybe_date_over to set
	 */
	public void setMaybe_date_over(Long maybe_date_over) {
		this.maybe_date_over = maybe_date_over;
	}

	/**
	 * @return the maybe_price_over
	 */
	public Long getMaybe_price_over() {
		return maybe_price_over;
	}

	/**
	 * @param maybe_price_over the maybe_price_over to set
	 */
	public void setMaybe_price_over(Long maybe_price_over) {
		this.maybe_price_over = maybe_price_over;
	}

		
	
}
